package com.gxar.quick.ar.server.base.model.order.vo.request;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author linsy
 * @version 1.0
 * @created 2023/11/8 09:43
 */
@Data
@ApiModel("订单创建请求")
public class OrderCreateRequest {

    @ApiModelProperty("原价")
    @JSONField(name = "ori_price")
    @JsonProperty("ori_price")
    private BigDecimal oriPrice;

    @ApiModelProperty("套餐价格")
    @JSONField(name = "price")
    @JsonProperty("price")
    private BigDecimal price;

    @ApiModelProperty("购买方式")
    private Integer method;
}
